class CreateUserOperationRecordes < ActiveRecord::Migration
  def self.up
		create_table (:user_operation_records, :options=>'ENGINE=InnoDB DEFAULT CHARSET=utf8',:force => true) do |t|
			t.integer	:user_id, :null => false
			t.text		:content, :null => false
			t.integer	:status, :limit => 1, :default => 0
			t.integer	:flag, :limit => 4, :default => 0
			t.timestamps
		end
  end

  def self.down
		drop_table :user_operation_records
  end
end
